package com.vichat.room.entity;

import javax.persistence.*;

/***************
 *author: autogen
 *version: 2017-12-11 18:10:55.2
 */
@Entity
@Table(name = "typedef_audio_id", catalog = "roomdb")
public class TypedefAudioId implements java.io.Serializable{

	private static final long serialVersionUID = 1L;
	


    public static final String TABLE = "typedef_audio_id";

    /** */
	public static final String ALIAS_VALUE = "value";
    /** */
	public static final String ALIAS_DESC = "desc";
    /** */
	public static final String ALIAS_REMARK = "remark";
	
	

 	@Id
	@Column(name = "value", unique = true, nullable = false)
    public Long value = 0l;
  
 	@Column(name = "desc")
    public String desc;
  
 	@Column(name = "remark")
    public String remark;
  





	public Long getValue() {
		return this.value;
	}
	
	public void setValue(Long value) {
		this.value = value;
	}

	public String getDesc() {
		return this.desc;
	}
	
	public void setDesc(String value) {
		this.desc = value;
	}

	public String getRemark() {
		return this.remark;
	}
	
	public void setRemark(String value) {
		this.remark = value;
	}


	
	public TypedefAudioId() {
	}
	
	public TypedefAudioId(boolean qryflag) {
	    if(qryflag){
	    		this.value = null;
				this.desc = null;
				this.remark = null;
			    }
	}


	public TypedefAudioId(
	    Long inValue,
	    String inDesc,
		String inRemark
	 ) {
		super();
				this.value = inValue;
				this.desc = inDesc;
				this.remark = inRemark;
			}
}

